Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added: Implementation of POST login and logout #345

Merged
merged 11 commits into from
Sep 30, 2024

Conversation

simon-spier0
Copy link
Contributor

Hi,

I added support for POST in login and logout.
#308, #280

Copy link
Member

@tim-schilling tim-schilling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm all for changing the logout to be a POST. If you want to update this PR to just be that change we can get it merged.

Let's discuss login flows in #308. I'm sorry for the misunderstanding.

README.rst Outdated Show resolved Hide resolved
README.rst Outdated Show resolved Hide resolved
@simon-spier0
Copy link
Contributor Author

Just to confirm, would you like me to switch the logout to use only POST and remove the current GET method, or should I add POST support and keep GET as it is?

@tim-schilling
Copy link
Member

I think we need to continue to support logouts with GET until django 4.2 is no longer supported. That matches Django's policy.

simon-spier0 and others added 2 commits August 15, 2024 21:40
Co-authored-by: Tim Schilling <schilling711@gmail.com>
Copy link
Member

@tim-schilling tim-schilling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm in favor of this change. I'd like to include the additional docs changes if you're okay with that @simon-spier0 and @JonasKs

docs/install.rst Outdated Show resolved Hide resolved
docs/install.rst Outdated Show resolved Hide resolved
docs/install.rst Outdated Show resolved Hide resolved
README.rst Outdated Show resolved Hide resolved
README.rst Outdated Show resolved Hide resolved
README.rst Outdated Show resolved Hide resolved
simon-spier0 and others added 6 commits September 30, 2024 00:12
Co-authored-by: Tim Schilling <schilling711@gmail.com>
Co-authored-by: Tim Schilling <schilling711@gmail.com>
Co-authored-by: Tim Schilling <schilling711@gmail.com>
Co-authored-by: Tim Schilling <schilling711@gmail.com>
Co-authored-by: Tim Schilling <schilling711@gmail.com>
Co-authored-by: Tim Schilling <schilling711@gmail.com>
README.rst Outdated Show resolved Hide resolved
@tim-schilling tim-schilling merged commit 5ea3c87 into snok:master Sep 30, 2024
25 of 26 checks passed
@tim-schilling
Copy link
Member

Thank you @simon-spier0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants